package com.example.compkeylab.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author Cheng Guanghao
 * @since 2023-11-27
 */
@TableName("searcher_info")
@ApiModel(value = "SearcherInfo对象", description = "")
public class SearcherInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户id")
    private String id;

    @ApiModelProperty("0：未知年龄; 1：0-18岁; 2：19-23岁; 3：24-30岁; 4：31-40岁; 5：41-50岁; 6：51-999岁")
    private Integer age;

    @ApiModelProperty("0：未知 1：男性 2：女性")
    private Integer gender;

    @ApiModelProperty("0：未知学历; 1：博士; 2：硕士; 3：大学生; 4：高中; 5：初中; 6：小学")
    private Integer education;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getEducation() {
        return education;
    }

    public void setEducation(Integer education) {
        this.education = education;
    }

    @Override
    public String toString() {
        return "SearcherInfo{" +
                "id=" + id +
                ", age=" + age +
                ", gender=" + gender +
                ", education=" + education +
                "}";
    }
}
